package server;

import java.util.Map;

//Context
public class Context {

    private String path;//工程浏览器中请求路径（工程名） demo1 / demo2
    private Map<String, HttpServlet> wrappers;//wrapper为每一个servlet对象，一个请求地址对应一个servlet/wrapper对象
    //key:  /pine            /lagou
    //value:PineServlet      LagouServlet

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Map<String, HttpServlet> getWrappers() {
        return wrappers;
    }

    public void setWrappers(Map<String, HttpServlet> wrappers) {
        this.wrappers = wrappers;
    }
}
